package risk.export.record.config;


import com.zaxxer.hikari.HikariDataSource;


/**
 * hm
 * 主数据源
 */
public class CustomDataSource extends HikariDataSource {

    public CustomDataSource() {
        String url = ConfigMap.ds1.get("url");
        String Username = ConfigMap.ds1.get("Username");
        String Password = ConfigMap.ds1.get("Password");
        String DriverClassName = ConfigMap.ds1.get("DriverClassName");
        setJdbcUrl(url);
        setUsername(Username);
        setPassword(Password);
        setDriverClassName(DriverClassName);
    }
}
